package com.hao.desing.proxy;

public class Proxy {
    private Host host;

    public Proxy() {
    }

    public Proxy(Host host) {
        this.host = host;
    }
    public void Rent(){
        Seehost();
        qianyuan();
        host.Rent();

    }

    private void qianyuan() {
        System.out.println("找中介签约");
    }

    private void Seehost() {
        System.out.println("中介看房子");
    }

}
